﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ATM
{
    class NoCardState : State
    {
        ATM machine;

        public NoCardState(ATM machine)
        {
            this.machine = machine;
        }

        public string InsertCard()
        {
            machine.SetState(machine.GetHasCardState());
            return "The card is secured. \r\nNow enter your PIN.";
        }

        public string EjectCard()
        {
            return "There is no card in the slot";
        }

        public bool EnterPIN(int pin, int[] pins)
        {
            return false;
        }

        public bool ChooseCash()
        {
            return false;
        }

        public void ChooseTransfer()
        {
            throw new NotImplementedException();
        }

        public bool ChooseDeposite()
        {
            return false;
        }

        public bool InsertEnvelope()
        {
            return false;
        }

        public void EnterAmount()
        {
            throw new NotImplementedException();
        }

        public void EnterAccountTarget()
        {
            throw new NotImplementedException();
        }

        public bool EnterReturnToMenu()
        {
            return false;//Cannot go to main menu
        }

    }
}
